package com.yswy.theater.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yswy.theater.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("解锁剧集")
@TableName(value = "theater_play_unlock")
public class TheaterPlayUnlock{
    @TableId(type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("是否解锁 0 未解锁 1解锁")
    private Integer isUnlock;
    @ApiModelProperty("theaterPlayId")
    private Long theaterPlayId;
    @ApiModelProperty("episodes")
    private Integer episodes;
    @ApiModelProperty("theaterPlayGatherId")
    private Long theaterPlayGatherId;
    @ApiModelProperty("用户Id")
    private Long userId;
    @ApiModelProperty("创建时间")
    private Date createTime = new Date();
}
